package com.zhr.tea.api;

import com.zhr.tea.entity.postbean.PostBean;

import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;

/**
 * .::::.
 * .::::::::.
 * :::::::::::
 * ..:::::::::::'
 * '::::::::::::'
 * .::::::::::
 * '::::::::::::::..
 * ..::::::::::::.
 * ``::::::::::::::::
 * ::::``:::::::::'        .:::.
 * ::::'   ':::::'       .::::::::.
 * .::::'      ::::     .:::::::'::::.
 * .:::'       :::::  .:::::::::' ':::::.
 * .::'        :::::.:::::::::'      ':::::.
 * .::'         ::::::::::::::'         ``::::.
 * ...:::           ::::::::::::'              ``::.
 * ```` ':.          ':::::::::'                  ::::..
 * '.:::::'             ':'````..
 * Created by 毛懿 on 2016/11/1 11:22.
 * 邮箱：1334964028@qq.com
 */

public interface CarService {
    String BASE_URL = "http://120.55.137.143:54321/service/teabubble/";
    String CAR_URL = "http://120.55.137.143:54321/service/teabubble/business?methods=recommendGoodsInfos";
    String CAR_SHOP_URL = "http://120.55.137.143:54321/service/teabubble/business?methods=shoppingCartListInfos";
    String CAR_SHOP_DEL_URL = "http://120.55.137.143:54321/service/teabubble/business?methods=recommendGoodsInfos";

    //    @FormUrlEncoded
    @POST(CAR_URL)
    Observable<String> getCarData(@Body PostBean postBean);
}
